#!/usr/bin/env python
# Filename: method.py
name ="asd"
class Person:
  def sayHi(self):
    print 'Hello, how are you?','My name is:',self.name
  def __init__(self,name="zxm"):
    self.name = name
p=Person("xy")
p.sayHi()
Person().sayHi()
# This short example can also be written as Person().sayHi()

